import request from "@/router/axios";


export const getAccountList= (params,page) => {
  return request({
    url: '/api/beetles-business/account/openRequirement/pageByTTOne',
    method: 'get',
    params:{
      ...params,
      ...page,
    }
  })
}

export const auditSubmit= (id,rejectReason,status,relativeAccounts,bcId) => {
  status = parseInt(status)
  return request({
    url: '/api/beetles-business/account/openRequirement/audit',
    method: 'post',
    data:{
      id,
      status,
      rejectReason,
      relativeAccounts,
      bcId
    }
  })
}
